Test for If Statements - Programming Foundations with Python
The Road Less Travelled
The following code guides Jennie's direction:
def determine_direction(message): if message == "TAKE THE ROAD LESS TRAVELLED": print("Turn Left") elif message == "COMFORT IS DIVINE": print("Turn Right") else: print("I don't know") determine_direction("TAKE THE ROAD LESS TRAVELLED")
Which path will you send Jennie down?
Turn Left
Turn Right
Go Home
I don't know